Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose to work with Apple Silicon #1572

Merged
merged 3 commits into from
Nov 17, 2022
Merged

Conversation

pt2302
Copy link
Contributor

@pt2302 pt2302 commented Nov 16, 2022

Pre-Flight checklist

  • Testing
    • Code is tested
    • Changes have been manually tested

What are the relevant tickets?

Closes #1568.

What's this PR do?

All of the docker-compose overrides were merged into the main docker-compose file. This allows for an override file to be used specifically for anyone running OCW Studio locally on Apple Silicon.

How should this be manually tested?

If running on an Intel machine, run docker-compose up and verify that no functionality is impacted. If running on an Apple Silicon machine, run cp docker-compose-arm64.yml docker-compose.override.yml and then docker-compose up. In particular, run any tests to ensure that Concourse runs as expected.

@codecov-commenter
Copy link

codecov-commenter commented Nov 16, 2022

Codecov Report

Merging #1572 (2e6934f) into master (01a1592) will increase coverage by 5.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1572      +/-   ##
==========================================
+ Coverage   89.20%   94.30%   +5.09%     
==========================================
  Files         239      117     -122     
  Lines       10138     3479    -6659     
  Branches     1671      785     -886     
==========================================
- Hits         9044     3281    -5763     
+ Misses        958      194     -764     
+ Partials      136        4     -132     
Impacted Files Coverage Δ
news/views.py
...gement/commands/markdown_cleaning/parsing_utils.py
.../management/commands/markdown_cleaning/__init__.py
main/views.py
main/__init__.py
videos/messages.py
...agement/commands/markdown_cleaning/cleanup_rule.py
main/urls.py
content_sync/pipelines/base.py
ocw_import/tasks.py
... and 112 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ChristopherChudzicki ChristopherChudzicki self-assigned this Nov 17, 2022
Copy link
Contributor

@ChristopherChudzicki ChristopherChudzicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked on my m1 and on my intel.

requested change: Add docker-compose.override.yml to the .gitignore.

But I think you can just merge after you do that 👍

@pt2302 pt2302 merged commit 2f1d9c4 into master Nov 17, 2022
@pt2302 pt2302 deleted the pt/AppleSilicon_docker branch November 17, 2022 16:47
@odlbot odlbot mentioned this pull request Nov 17, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make OCW Studio work on M1 Macs
3 participants